@extends('layouts.admin')
@section('content')
		<div class="alert alert-success">添加套餐</div>
		@if(count($errors)>0)
			@if(is_object($errors))
				{{$errors->all()[0]}}
			@else
				{{$errors}}
			@endif
			{{--@foreach($errors->all() as $error)--}}
			{{--{{ $error}}--}}
			{{--@endforeach--}}
		@endif
		<form action="{{url('admin/package')}}" method="post">
		{{csrf_field()}}
		<div class="form-group">
			<label for="exampleInputEmail1">套餐名称</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入套餐名称"  name="tao_name">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">分类描述</label>
			<textarea name="tao_content" rows="5" cols=""  class="form-control" placeholder="请输入套餐描述"></textarea>
		</div>
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
@endsection
